let input='10 a'
let arr=input.split(' ')
let col_count=parseInt(arr[0])
let row_count=Math.round(col_count/2)
let char=arr[1]
for(let i=0;i<row_count;i++){
    
    
   for(let j=0;j<col_count;j++){
        process.stdout.write(char)
    }
    console.log();
}

